package org.van.financial.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.van.financial.model.UserDomain;

@Mapper
public interface UserDao {
    UserDomain getUserInfoByCond(@Param("username") String username, @Param("password") String password);

    UserDomain getUserInfoById(Integer uid);

    void saveUserInfo(UserDomain user);
    UserDomain getUserInfoByUsername(String username);
}
